package com.qingzhuge.scheduler.dto.respone;

import com.qingzhuge.dto.response.BaseResponsePkLongDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @author : zero.xiao
 * @description :
 * @date :2019-05-20 16:42
 * @modified :
 */
@ApiModel("任务调度作业信息")
@Setter
@Getter
public class SysTaskJobResponseDto extends BaseResponsePkLongDto {
    /**任务方法*/
    @ApiModelProperty("任务名称")
    private String objectName;
    /**任务方法名称*/
    @ApiModelProperty("方法名称")
    private String methodName;

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.JSON_STYLE);
    }
}
